package com.xpec.c4.message.servlet;

public class AuthorityResult
{
	/**
	 * 錯誤碼
	 */
	private int errorCode;
	
	/**
	 * 授權key
	 */
	private String authorityKey;
	
	/**
	 * 要重新導向的url
	 */
	private String redirectUrl;
	
	/**
	 * 查詢server清單的api
	 */
	private String serverListAPI;
	

	


	public AuthorityResult(int errorCode, String authorityKey, String redirectUrl, String serverListAPI)
	{
		this.errorCode = errorCode;
		this.authorityKey = authorityKey;
		this.redirectUrl = redirectUrl;
		this.serverListAPI = serverListAPI;


	}

	public String getAuthorityKey()
    {
	    return authorityKey;
    }

	public void setAuthorityKey(String authorityKey)
    {
	    this.authorityKey = authorityKey;
    }

	public int getErrorCode()
    {
	    return errorCode;
    }

	public void setErrorCode(int errorCode)
    {
	    this.errorCode = errorCode;
    }

	public String getRedirectUrl()
    {
	    return redirectUrl;
    }

	public void setRedirectUrl(String redirectUrl)
    {
	    this.redirectUrl = redirectUrl;
    }

	public String getServerListAPI()
    {
	    return serverListAPI;
    }

	public void setServerListAPI(String serverListAPI)
    {
	    this.serverListAPI = serverListAPI;
    }
	
}
